package src.controller;

import java.awt.event.KeyEvent;

public class MainViewKeyListener implements java.awt.event.KeyListener{
	private GameController gc;

	public MainViewKeyListener(GameController gc){
		this.gc = gc;
	}

	public void keyPressed(KeyEvent e){
	}

	public void keyReleased(KeyEvent e){
	}

	public void keyTyped(KeyEvent e){
		gc.keyTyped(e.getKeyChar());
	}

	public GameController getGC()
	{
		return gc;
	}
}
